<?php
namespace app\xapply\model;

use think\Model;
use app\user\model\Admin;

class Message extends Model
{
    protected $name = 'xapply_message';

    public function from()
    {
        return $this->belongsTo(Admin::class, 'from_uid', 'id');
    }
}
